package com.sanno.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.ResultMap;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * 检测结果(SccMedicalResult)实体类
 *
 * @author makejava
 * @since 2021-12-17 15:17:41
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "scc_medical_result")
public class SccMedicalResult implements Serializable {
    private static final long serialVersionUID = 976576533312690944L;
    /**
     * 标识列
     */
    @TableId(type = IdType.AUTO)
    private Integer resultId;
    /**
     * 检测者id
     */
    private Integer patientId;
    /**
     * 身体质量指数
     */
    private Double bmiResult;
    /**
     * 血糖指数
     */
    private Double gluResult;
    /**
     * 饮食状态
     */
    private Integer gluFoodStatus;
    /**
     * 血红蛋白
     */
    private Double hbaicResult;
    /**
     * 血尿酸
     */
    private Double uaResult;
    /**
     * 高密度脂蛋白固醇
     */
    private Double hdiCResult;
    /**
     * 低密度脂蛋白固醇
     */
    private Double ldlCResult;
    /**
     * 甘油三脂
     */
    private Double tgResult;
    /**
     * 总蛋白固醇
     */
    private Double cholResult;
    /**
     * 总蛋白固醇/高密度脂蛋白固醇比值
     */
    private Double tcHdiCResult;
    /**
     * 血酮
     */
    private Double ketResult;
    /**
     * 收缩压
     */
    private Double sbpResult;
    /**
     * 舒张压
     */
    private Double dbpResult;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 检测时间
     */
    private Date testTime;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 备注
     */
    private String remark;

    private Integer drugstoreId;
    @TableField(exist = false)
    private String storeName;

    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String age;

    @TableField(exist = false)
    private Double Weight;

    @TableField(exist = false)
    private String CountOfTest;

    @TableField(exist = false)
    private Double Height;

    @TableField(exist = false)
    private String Phone;

    @TableField(exist = false)
    private String XueYa;




}

